package com.richinfo.mapper;

import com.richinfo.entity.LoginToken;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.Map;

public interface LoginTokenMapper {

	LoginToken findToken(Map<String, Object> map);

	String queryTokenByUserName(@Param("userName") String userName);
}
